package com.java.service;

import com.java.entity.Question;

import java.util.List;

public interface QuestionService {

    int insert(Question question);

    int delete(Integer questionId);

    int update(Question question);

    Question selectOne(Integer questionId);

    List<Question> selectAll();

    List<Question> selectByQuestionTypeId(Integer questionTypeId);

}
